gdk/wayland: Don't make gtk_shell1 v2 mandatory
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 19 Sep 2017 16:30:01 +0000 (18:30 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 19 Sep 2017 16:35:20 +0000 (18:35 +0200)
commitab5f02771a7bd7161984765623f478a0a97a2b6d
tree1c1a9eb22246436556ec893efafe4fc98007f1a6
parent49aada63ee625966e221571c6e9aacdf42be47cf
gdk/wayland: Don't make gtk_shell1 v2 mandatory

It may result in a protocol error on older mutters, as GTK+ will
invariably request a higher version than what's available. Make
GTK+ also accept v1 if it's all the compositor has got.
gdk/wayland/gdkdisplay-wayland.c